#define _CRT_SECURE_NO_WARNINGS
int removeElement(int* nums, int numsSize, int val) {
    int* src = nums;
    int* des = nums;
    int i = 0;
    for (i = 0; i < numsSize; i++)
    {
        if (src[i] == val)
            src++;
        else
        {
            des[i] = src[i];
        }
    }
}